local Player = require 'packages.chess-games.xiangqi.core.player'

---@class Xiangqi.ServerPlayer : Xiangqi.Player, ServerPlayerBase
---@field public ai Xiangqi.AI
local ServerPlayer = Player:subclass("Xiangqi.ServerPlayer")
ServerPlayer:include(Fk.Base.ServerPlayerBase)

local AI = require "packages.chess-games.xiangqi.server.ai"

function ServerPlayer:initialize(_self)
  Player.initialize(self)
  Fk.Base.ServerPlayerBase.initialize(self, _self)

  self.ai = AI:new(self)
end

return ServerPlayer
